package com.blackline.UI.Consolidations;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Feb, 2013
 * <p>This page is after clicking the CIM tab from Navigation Menu using pre roles.
 * Please refer to UI.Consolidation_Accounts.png in doc-files.
 */
public class Consolidation_Accounts {
	/**
	 * Account text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_AccountNumber")
	public WebElement Account_textField;
	
	/**
	 * 	Apply Link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_lbApplyFilters")
	public WebElement Apply_Link;
	
	/**
	 * Entity text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_EntityCode")
	public WebElement Entity_textField;	
	/**
	 * Edit icon
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_ctl02_hlViewRec")
	public WebElement Edit_Icon;
	
	/**
	 * Cert icon
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_ctl02_hlViewRec")
	public WebElement Cert_Icon;
	/**
	 * View icon of 1st searched result (suppose only have one result)
	 */
	@FindBy (linkText = "View")
	public WebElement View_linkOf1stSearchedResult;
	/**
	 * CertStatus icon of 1st search result (suppose only have one result)
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_ctl02_ibCertStatus")
	public WebElement CertStatus_icon;
	/**
	 * Rej icon icon of 1st search result (suppose only have one result)
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_ctl02_hlViewRec")
	public WebElement Rej_icon;
}
